package com.streaminggbs.common.base;




public class Video2CommonReturnBean {

	public static ReturnBean convert(VideoReturnBean videoReturnBean) {
		ReturnBean returnBean = new ReturnBean(videoReturnBean.getData());
		returnBean.setCode(videoReturnBean.getCode());
		if(videoReturnBean.getCode()==200){
			returnBean.setCode(0);
		}
		returnBean.setMsg(videoReturnBean.getMsg());
		return returnBean;
	}



}
